package test;

/**
 * @Description 书
 * @Author zhongzihao
 * @Date 2021/6/22 6:43 下午
 */
public class Book {
    private String BookName;

    private Double money;
    public Book(String bookName) {
        BookName = bookName;
    }

    public Book(String bookName, Double money) {
        BookName = bookName;
        this.money = money;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getBookName() {
        return BookName;
    }

    public void setBookName(String bookName) {
        BookName = bookName;
    }

    @Override
    public String toString() {
        return "Book{" +
                "BookName='" + BookName + '\'' +
                ", money=" + money +
                '}';
    }
}
